package cn.com.qmth.examcloud.websocket;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {"com.qmth.commons","cn.com.qmth"})
@EntityScan(basePackages = {"com.qmth.commons","cn.com.qmth"})
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableAutoConfiguration
public class WebSocketApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(WebSocketApplication.class, args);
    }

}
